package rpt.yto.flex.remote.data.dao;

import java.util.List;
import java.util.Map;

import rpt.yto.flex.remote.data.bean.RPTTableBBean;
import rpt.yto.util.beans.SuperBean;

@SuppressWarnings("rawtypes")
public interface ITableDAO {

	public List<RPTTableBBean> queryTableByCode(Map<String , Object> param) throws Exception; 
	
	public Object insertHeadData(SuperBean bean) throws Exception ;
	
	public String insertBodyData(List<SuperBean> beanList , String sqlMapType) throws Exception;
	
	public List<SuperBean> queryBeanByCondition(Map<String , Object> paramMap, Class beanType) throws Exception;
	
	public String deleteStatisticData(Map<String , Object> paramMap) throws Exception;
	
	public String insertHeadTable(Map<String , String> param) throws Exception;
	
	public String insertBodyTable(Map<String , String> param) throws Exception;
	
	public String queryExsits(String reportcode) throws Exception;
	
	public List<SuperBean> queryTableBByPK(String pk_table) throws Exception;
	
	public String deleteBodyTable(String pk_table) throws Exception;
	
	
}
